LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)
#LOCAL_C_INCLUDES :=   /cygdrive/c/Android/android-ndk-r7/sources/cxx-stl/stlport/stlport

#APP_STL 	:= stlport_static

LOCAL_MODULE    := libsvg
#LOCAL_CFLAGS += -DLIBSVG_EXPAT  

# debugging
LOCAL_CFLAGS += -D_DEBUG_SVG



# zlib stuff
#ZLIB_SOURCES = zlib/adler32.c zlib/compress.c zlib/crc32.c zlib/deflate.c zlib/gzclose.c zlib/gzlib.c zlib/gzread.c \
        zlib/gzwrite.c zlib/infback.c zlib/inffast.c zlib/inflate.c zlib/inftrees.c zlib/trees.c zlib/uncompr.c zlib/zutil.c


# libsvg stuff
LOCAL_SRC_FILES = \
	svgtag.cpp \
	svgrect.cpp \
	svgpolygon.cpp \
	svgtext.cpp \
	svgdesc.cpp \
	svgline.cpp \
	svgdocument.cpp \
	stdafx.cpp \
	parser.cpp \
	gloox.cpp \
	util.cpp \
	tag.cpp \
	svg-jni.cpp

# package it
LOCAL_LDLIBS := -llog \

include $(BUILD_SHARED_LIBRARY)
